package demo.spring.test180318;

/**
 * @Author: tyzhang
 * @Description:
 * @Date: Created in 12:10 2018/3/18
 */
public class AutoWiringService {
    private AutoWiringDAo autoWiringDAo;

    public void setAutoWiringDAo(AutoWiringDAo autoWiringDAo) {
        this.autoWiringDAo = autoWiringDAo;
    }

    public void say(String arg) {
        this.autoWiringDAo.say(arg);
    }

    public AutoWiringService() {
        System.out.println("AutoWiringService");
    }
}
